//
//  ZDPhotoSelectorCell.h
//  1108图片选择器
//
//  Created by Apple on 15/11/8.
//  Copyright © 2015年 itcast. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ZDPhotoSelectorCell;

typedef enum
{
    ZDPhotoSelectorAddButton,
    ZDPhotoSelectorRemoveButton
    
} ZDPhotoSelectorButtonType;

@protocol ZDPhotoSelectorCellDelegate <NSObject>

@optional
- (void)photoSelectorCell:(ZDPhotoSelectorCell *)cell didClickButton:(ZDPhotoSelectorButtonType)type;

@end

@interface ZDPhotoSelectorCell : UICollectionViewCell

@property (nonatomic, weak) id<ZDPhotoSelectorCellDelegate> delegate;

@property (nonatomic, strong) UIImage *image;

@end
